package sunwul.mall.auth.strategy;

import org.springframework.security.core.userdetails.UserDetails;

/**
 * @author sunwul
 * @date 2024/12/26 14:48
 * @description  登录策略
 */
public interface LoginStrategy {

    /**
     * 处理登录的方法
     */
    UserDetails realLogin(String username);
}
